Merge pull request 'change links to depends_on in docker-compose.yml' (#9086) from fries/calckey:podman into develop
Reviewed-on: https://codeberg.org/thatonecalculator/calckey/pulls/9086
This commit is contained in:
commit
57b76eda7c
|
@ -2,35 +2,34 @@ version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: thatonecalculator/calckey
|
image: docker.io/thatonecalculator/calckey
|
||||||
build: .
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
links:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
# - es
|
# - es
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- network
|
||||||
- external_network
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/calckey/files
|
- ./files:/calckey/files
|
||||||
- ./.config:/calckey/.config:ro
|
- ./.config:/calckey/.config:ro
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
image: redis:4.0-alpine
|
image: docker.io/redis:4.0-alpine
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- network
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis:/data
|
- ./redis:/data
|
||||||
|
|
||||||
db:
|
db:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:12.2-alpine
|
image: docker.io/postgres:12.2-alpine
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- network
|
||||||
env_file:
|
env_file:
|
||||||
- .config/docker.env
|
- .config/docker.env
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -43,11 +42,9 @@ services:
|
||||||
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||||
# - "TAKE_FILE_OWNERSHIP=111"
|
# - "TAKE_FILE_OWNERSHIP=111"
|
||||||
# networks:
|
# networks:
|
||||||
# - internal_network
|
# - network
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./elasticsearch:/usr/share/elasticsearch/data
|
# - ./elasticsearch:/usr/share/elasticsearch/data
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal_network:
|
network:
|
||||||
internal: true
|
|
||||||
external_network:
|
|
||||||
|
|
Loading…
Reference in New Issue