2018-10-09 08:09:50 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
2022-11-07 04:04:57 +01:00
|
|
|
image: docker.io/thatonecalculator/calckey
|
2018-10-09 08:09:50 +02:00
|
|
|
build: .
|
|
|
|
restart: always
|
2022-11-07 04:04:57 +01:00
|
|
|
depends_on:
|
2019-04-07 14:50:36 +02:00
|
|
|
- db
|
2019-04-14 05:05:12 +02:00
|
|
|
- redis
|
2018-10-09 08:09:50 +02:00
|
|
|
# - es
|
|
|
|
ports:
|
2022-05-15 09:39:23 +02:00
|
|
|
- "3000:3000"
|
2018-10-09 08:09:50 +02:00
|
|
|
networks:
|
2022-11-07 04:04:57 +01:00
|
|
|
- network
|
2020-07-30 14:13:38 +02:00
|
|
|
volumes:
|
2022-09-14 08:37:01 +02:00
|
|
|
- ./files:/calckey/files
|
|
|
|
- ./.config:/calckey/.config:ro
|
2018-10-09 08:09:50 +02:00
|
|
|
|
2019-04-14 05:05:12 +02:00
|
|
|
redis:
|
|
|
|
restart: always
|
2022-11-07 04:04:57 +01:00
|
|
|
image: docker.io/redis:4.0-alpine
|
2019-04-14 05:05:12 +02:00
|
|
|
networks:
|
2022-11-07 04:04:57 +01:00
|
|
|
- network
|
2019-04-14 05:05:12 +02:00
|
|
|
volumes:
|
|
|
|
- ./redis:/data
|
2018-10-09 08:09:50 +02:00
|
|
|
|
2019-04-07 14:50:36 +02:00
|
|
|
db:
|
2018-10-09 08:09:50 +02:00
|
|
|
restart: always
|
2022-11-07 04:04:57 +01:00
|
|
|
image: docker.io/postgres:12.2-alpine
|
2018-10-09 08:09:50 +02:00
|
|
|
networks:
|
2022-11-07 04:04:57 +01:00
|
|
|
- network
|
2019-04-07 14:50:36 +02:00
|
|
|
env_file:
|
|
|
|
- .config/docker.env
|
2018-10-09 08:09:50 +02:00
|
|
|
volumes:
|
2019-04-07 14:50:36 +02:00
|
|
|
- ./db:/var/lib/postgresql/data
|
2018-10-09 08:09:50 +02:00
|
|
|
|
|
|
|
# es:
|
|
|
|
# restart: always
|
|
|
|
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
|
|
|
|
# environment:
|
|
|
|
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
2022-01-25 15:16:09 +01:00
|
|
|
# - "TAKE_FILE_OWNERSHIP=111"
|
2018-10-09 08:09:50 +02:00
|
|
|
# networks:
|
2022-11-07 04:04:57 +01:00
|
|
|
# - network
|
2019-04-07 14:50:36 +02:00
|
|
|
# volumes:
|
|
|
|
# - ./elasticsearch:/usr/share/elasticsearch/data
|
2018-10-09 08:09:50 +02:00
|
|
|
|
|
|
|
networks:
|
2022-11-07 04:04:57 +01:00
|
|
|
network:
|