mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-09 11:41:30 -07:00
fix docker-compose
This commit is contained in:
parent
5543a65936
commit
9928ca72e2
2 changed files with 15 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
||||||
# db settings
|
# db settings
|
||||||
POSTGRES_PASSWORD=example-firefish-pass
|
POSTGRES_PASSWORD=example-iceshrimp-pass
|
||||||
POSTGRES_USER=example-firefish-user
|
POSTGRES_USER=example-iceshrimp-user
|
||||||
POSTGRES_DB=firefish
|
POSTGRES_DB=iceshrimp
|
||||||
|
|
|
@ -2,8 +2,8 @@ version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: docker.io/thatonecalculator/firefish
|
image: iceshrimp.dev/iceshrimp/iceshrimp
|
||||||
container_name: firefish_web
|
container_name: iceshrimp_web
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
@ -14,29 +14,29 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- ishnet
|
||||||
# - web
|
# - web
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/firefish/files
|
- ./files:/iceshrimp/files
|
||||||
- ./.config:/firefish/.config:ro
|
- ./.config:/iceshrimp/.config:ro
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/redis:7.0-alpine
|
image: docker.io/redis:7.0-alpine
|
||||||
container_name: firefish_redis
|
container_name: iceshrimp_redis
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- ishnet
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis:/data
|
- ./redis:/data
|
||||||
|
|
||||||
db:
|
db:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/postgres:12.2-alpine
|
image: docker.io/postgres:12.2-alpine
|
||||||
container_name: firefish_db
|
container_name: iceshrimp_db
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- ishnet
|
||||||
env_file:
|
env_file:
|
||||||
- .config/docker.env
|
- .config/docker.env
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -53,7 +53,7 @@ services:
|
||||||
# ports:
|
# ports:
|
||||||
# - "7700:7700"
|
# - "7700:7700"
|
||||||
# networks:
|
# networks:
|
||||||
# - calcnet
|
# - ishnet
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./meili_data:/meili_data
|
# - ./meili_data:/meili_data
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
@ -62,13 +62,13 @@ services:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
# image: docker.io/valeriansaliou/sonic:v1.4.0
|
# image: docker.io/valeriansaliou/sonic:v1.4.0
|
||||||
# networks:
|
# networks:
|
||||||
# - calcnet
|
# - ishnet
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./sonic:/var/lib/sonic/store
|
# - ./sonic:/var/lib/sonic/store
|
||||||
# - ./sonic/config.cfg:/etc/sonic.cfg
|
# - ./sonic/config.cfg:/etc/sonic.cfg
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
calcnet:
|
ishnet:
|
||||||
# web:
|
# web:
|
||||||
# external:
|
# external:
|
||||||
# name: web
|
# name: web
|
||||||
|
|
Loading…
Reference in a new issue