mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
91b8b7b76b
Co-authored-by: Luna <luna.dragon@suse.com> Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125 Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com> Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
57 lines
1.1 KiB
Text
57 lines
1.1 KiB
Text
version: "3"
|
|
|
|
services:
|
|
web:
|
|
image: iceshrimp.dev/iceshrimp/iceshrimp:dev
|
|
build: ..
|
|
container_name: iceshrimp_web
|
|
restart: always
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
# - es
|
|
ports:
|
|
- "3000:3000"
|
|
networks:
|
|
- network
|
|
# - web
|
|
volumes:
|
|
- ../files:/iceshrimp/files
|
|
- ../.config:/iceshrimp/.config:ro
|
|
|
|
redis:
|
|
restart: always
|
|
container_name: iceshrimp_redis
|
|
image: docker.io/redis:7.0-alpine
|
|
networks:
|
|
- network
|
|
volumes:
|
|
- ../redis:/data
|
|
|
|
db:
|
|
restart: always
|
|
image: docker.io/postgres:12.2-alpine
|
|
container_name: iceshrimp_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
|