mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-23 02:17:40 -07:00
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
fa4907eb3f
1 changed files with 9 additions and 12 deletions
|
@ -2,35 +2,34 @@ version: "3"
|
|||
|
||||
services:
|
||||
web:
|
||||
image: thatonecalculator/calckey
|
||||
image: docker.io/thatonecalculator/calckey
|
||||
build: .
|
||||
restart: always
|
||||
links:
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
# - es
|
||||
ports:
|
||||
- "3000:3000"
|
||||
networks:
|
||||
- internal_network
|
||||
- external_network
|
||||
- network
|
||||
volumes:
|
||||
- ./files:/calckey/files
|
||||
- ./.config:/calckey/.config:ro
|
||||
|
||||
redis:
|
||||
restart: always
|
||||
image: redis:4.0-alpine
|
||||
image: docker.io/redis:4.0-alpine
|
||||
networks:
|
||||
- internal_network
|
||||
- network
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
|
||||
db:
|
||||
restart: always
|
||||
image: postgres:12.2-alpine
|
||||
image: docker.io/postgres:12.2-alpine
|
||||
networks:
|
||||
- internal_network
|
||||
- network
|
||||
env_file:
|
||||
- .config/docker.env
|
||||
volumes:
|
||||
|
@ -43,11 +42,9 @@ services:
|
|||
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||
# - "TAKE_FILE_OWNERSHIP=111"
|
||||
# networks:
|
||||
# - internal_network
|
||||
# - network
|
||||
# volumes:
|
||||
# - ./elasticsearch:/usr/share/elasticsearch/data
|
||||
|
||||
networks:
|
||||
internal_network:
|
||||
internal: true
|
||||
external_network:
|
||||
network:
|
||||
|
|
Loading…
Reference in a new issue