mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 22:56:08 +09:00
feat: add sonic to docker
This commit is contained in:
parent
6b298823ff
commit
ffe08465bd
@ -8,7 +8,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
# - es
|
- sonic
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
networks:
|
networks:
|
||||||
@ -40,16 +40,14 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/postgresql/data
|
- ./db:/var/lib/postgresql/data
|
||||||
|
|
||||||
# es:
|
sonic:
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
|
image: docker.io/valeriansaliou/sonic:v1.4.0
|
||||||
# environment:
|
networks:
|
||||||
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
- calcnet
|
||||||
# - "TAKE_FILE_OWNERSHIP=111"
|
volumes:
|
||||||
# networks:
|
- ./sonic:/var/lib/sonic/store
|
||||||
# - calcnet
|
- ./sonic/config.cfg:/etc/sonic.cfg
|
||||||
# volumes:
|
|
||||||
# - ./elasticsearch:/usr/share/elasticsearch/data
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
calcnet:
|
calcnet:
|
||||||
|
Loading…
Reference in New Issue
Block a user