Browse Source
fix: set docker-compose version to 3.9, add quotes to port mapping
pull/2299/head
longstone
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
8 additions and
8 deletions
-
docker/docker-compose.build.yml
-
docker/docker-compose.dev.yml
-
docker/docker-compose.yml
|
@ -1,4 +1,4 @@ |
|
|
version: '3.7' |
|
|
version: '3.9' |
|
|
services: |
|
|
services: |
|
|
ghostfolio: |
|
|
ghostfolio: |
|
|
build: ../ |
|
|
build: ../ |
|
@ -10,13 +10,13 @@ services: |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
ports: |
|
|
ports: |
|
|
- 3333:3333 |
|
|
- "3333:3333" |
|
|
depends_on: |
|
|
depends_on: |
|
|
postgres: |
|
|
postgres: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
redis: |
|
|
redis: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
|
|
|
|
|
|
postgres: |
|
|
postgres: |
|
|
image: postgres:12 |
|
|
image: postgres:12 |
|
|
env_file: |
|
|
env_file: |
|
|
|
@ -1,4 +1,4 @@ |
|
|
version: '3.7' |
|
|
version: '3.9' |
|
|
services: |
|
|
services: |
|
|
postgres: |
|
|
postgres: |
|
|
image: postgres:12 |
|
|
image: postgres:12 |
|
@ -7,7 +7,7 @@ services: |
|
|
env_file: |
|
|
env_file: |
|
|
- ../.env |
|
|
- ../.env |
|
|
ports: |
|
|
ports: |
|
|
- 5432:5432 |
|
|
- "5432:5432" |
|
|
volumes: |
|
|
volumes: |
|
|
- postgres:/var/lib/postgresql/data |
|
|
- postgres:/var/lib/postgresql/data |
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ services: |
|
|
container_name: redis |
|
|
container_name: redis |
|
|
restart: unless-stopped |
|
|
restart: unless-stopped |
|
|
ports: |
|
|
ports: |
|
|
- 6379:6379 |
|
|
- "6379:6379" |
|
|
|
|
|
|
|
|
volumes: |
|
|
volumes: |
|
|
postgres: |
|
|
postgres: |
|
|
|
@ -10,13 +10,13 @@ services: |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
ports: |
|
|
ports: |
|
|
- 3333:3333 |
|
|
- "3333:3333" |
|
|
depends_on: |
|
|
depends_on: |
|
|
postgres: |
|
|
postgres: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
redis: |
|
|
redis: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
|
|
|
|
|
|
postgres: |
|
|
postgres: |
|
|
image: postgres:12 |
|
|
image: postgres:12 |
|
|
env_file: |
|
|
env_file: |
|
|