trashposs/dev/docker-compose.yml.example

58 lines
1.1 KiB
Plaintext
Raw Normal View History

version: "3"
services:
web:
2024-04-06 23:55:59 +02:00
image: iceshrimp.dev/Crimekillz/trashposs:dev
build: ..
2024-04-06 23:55:59 +02:00
container_name: trashposs_web
restart: always
depends_on:
- db
- redis
# - es
ports:
- "3000:3000"
networks:
- network
# - web
volumes:
2024-04-06 23:55:59 +02:00
- ../files:/trashposs/files
- ../.config:/trashposs/.config:ro
redis:
restart: always
2024-04-06 23:55:59 +02:00
container_name: trashposs_redis
image: docker.io/redis:7.0-alpine
networks:
- network
volumes:
- ../redis:/data
db:
restart: always
2022-12-19 01:57:51 +01:00
image: docker.io/postgres:12.2-alpine
2024-04-06 23:55:59 +02:00
container_name: trashposs_db
networks:
- network
env_file:
- ../.config/docker.env
volumes:
- ../db:/var/lib/postgresql/data
# es:
# restart: always
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
# environment:
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - "TAKE_FILE_OWNERSHIP=111"
# networks:
# - network
# volumes:
# - ./elasticsearch:/usr/share/elasticsearch/data
networks:
network:
# web:
# external:
# name: web