2018-10-09 06:09:50 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
links:
|
2019-04-07 12:50:36 +00:00
|
|
|
- db
|
2019-04-14 03:05:12 +00:00
|
|
|
- redis
|
2018-10-09 06:09:50 +00:00
|
|
|
# - es
|
|
|
|
ports:
|
2022-12-04 19:56:46 +00:00
|
|
|
- "127.0.0.1:3000:3000"
|
2018-10-09 06:09:50 +00:00
|
|
|
networks:
|
|
|
|
- internal_network
|
|
|
|
- external_network
|
2020-07-30 12:13:38 +00:00
|
|
|
volumes:
|
2022-10-04 17:36:25 +00:00
|
|
|
- ./files:/foundkey/files
|
|
|
|
- ./.config:/foundkey/.config:ro
|
2018-10-09 06:09:50 +00:00
|
|
|
|
2019-04-14 03:05:12 +00:00
|
|
|
redis:
|
|
|
|
restart: always
|
2022-09-03 23:57:14 +00:00
|
|
|
image: redis:7.0-alpine
|
2019-04-14 03:05:12 +00:00
|
|
|
networks:
|
|
|
|
- internal_network
|
|
|
|
volumes:
|
|
|
|
- ./redis:/data
|
2018-10-09 06:09:50 +00:00
|
|
|
|
2019-04-07 12:50:36 +00:00
|
|
|
db:
|
2018-10-09 06:09:50 +00:00
|
|
|
restart: always
|
2022-09-03 23:57:14 +00:00
|
|
|
image: postgres:14.5-alpine
|
2018-10-09 06:09:50 +00:00
|
|
|
networks:
|
|
|
|
- internal_network
|
2019-04-07 12:50:36 +00:00
|
|
|
env_file:
|
|
|
|
- .config/docker.env
|
2018-10-09 06:09:50 +00:00
|
|
|
volumes:
|
2019-04-07 12:50:36 +00:00
|
|
|
- ./db:/var/lib/postgresql/data
|
2018-10-09 06:09:50 +00:00
|
|
|
|
|
|
|
# es:
|
|
|
|
# restart: always
|
|
|
|
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
|
|
|
|
# environment:
|
|
|
|
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
2022-01-25 14:16:09 +00:00
|
|
|
# - "TAKE_FILE_OWNERSHIP=111"
|
2018-10-09 06:09:50 +00:00
|
|
|
# networks:
|
|
|
|
# - internal_network
|
2019-04-07 12:50:36 +00:00
|
|
|
# volumes:
|
|
|
|
# - ./elasticsearch:/usr/share/elasticsearch/data
|
2018-10-09 06:09:50 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
internal_network:
|
|
|
|
internal: true
|
|
|
|
external_network:
|