mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Enforce a container_name and rename the postgres container
This commit is contained in:
parent
d90d347006
commit
9e91fd5241
1 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
invidious:
|
invidious:
|
||||||
|
container_name: invidious
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
|
@ -19,7 +20,7 @@ services:
|
||||||
dbname: invidious
|
dbname: invidious
|
||||||
user: kemal
|
user: kemal
|
||||||
password: kemal
|
password: kemal
|
||||||
host: invidious-postgres
|
host: invidious-db
|
||||||
port: 5432
|
port: 5432
|
||||||
check_tables: true
|
check_tables: true
|
||||||
# external_port:
|
# external_port:
|
||||||
|
@ -32,9 +33,10 @@ services:
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 2
|
retries: 2
|
||||||
depends_on:
|
depends_on:
|
||||||
- invidious-postgres
|
- invidious-db
|
||||||
|
|
||||||
invidious-postgres:
|
invidious-db:
|
||||||
|
container_name: invidious-db
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue