Skip to content

Commit

Permalink
Update cosmos-compose.json
Browse files Browse the repository at this point in the history
  • Loading branch information
azukaar authored Nov 11, 2023
1 parent 14d7983 commit 6d3f566
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions servapps/Piped/cosmos-compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Piped/icon.png"
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Piped/icon.png",
"cosmos-persistent-env": "POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD"

},
"networks": {
Expand All @@ -41,16 +42,13 @@
"environment": [
"POSTGRES_DB=piped",
"POSTGRES_USER=piped",
"POSTGRES_PASSWORD=changeme",
"POSTGRES_PASSWORD={Passwords.0}",
"DATABASE_HOST={ServiceName}-postgres"
]
},
"{ServiceName}-proxy": {
"image": "1337kavin/piped-proxy:latest",
"restart": "unless-stopped",
"environment": [
"UDS=1"
],
"volumes": [
{
"source": "{ServiceName}-proxy",
Expand All @@ -61,14 +59,15 @@
"container_name": "{ServiceName}-proxy",
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true"
"cosmos-auto-update": "true",
"cosmos-persistent-env": "POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD"
},
"environment": [
"UDS=1",
"POSTGRES_DB=piped",
"POSTGRES_USER=piped",
"POSTGRES_PASSWORD=changeme",
"POSTGRES_PASSWORD={Passwords.0}",
"DATABASE_HOST={ServiceName}-postgres"

],
"networks": {
"{ServiceName}-net": {}
Expand All @@ -83,6 +82,7 @@
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"HideFromDashboard": true,
"SmartShield": {
"Enabled": true
}
Expand All @@ -96,7 +96,7 @@
"POSTGRES_DB=piped",
"DB_PORT=5432",
"POSTGRES_USER=piped",
"POSTGRES_PASSWORD=changeme",
"POSTGRES_PASSWORD={Passwords.0}",
"DATABASE_HOST={ServiceName}-postgres"
],
"depends_on": [
Expand All @@ -112,7 +112,8 @@
"container_name": "{ServiceName}-backend",
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true"
"cosmos-auto-update": "true",
"cosmos-persistent-env": "POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD"
},
"networks": {
"{ServiceName}-net": {}
Expand All @@ -127,6 +128,7 @@
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"HideFromDashboard": true,
"SmartShield": {
"Enabled": true
}
Expand Down Expand Up @@ -157,7 +159,7 @@
"POSTGRES_DB=piped",
"DB_PORT=5432",
"POSTGRES_USER=piped",
"POSTGRES_PASSWORD=changeme",
"POSTGRES_PASSWORD={Passwords.0}",
"DATABASE_HOST={ServiceName}-postgres"
]
}
Expand Down

0 comments on commit 6d3f566

Please sign in to comment.