Custom configuration for rudeshark.net
This commit is contained in:
parent
173a78a90b
commit
6fdb311811
@ -2,19 +2,20 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: registry.joinfirefish.org/firefish/firefish
|
# Choose one of these tags:
|
||||||
container_name: firefish_web
|
# stable-amd64, stable-arm64, beta-amd64, beta-arm64
|
||||||
|
image: registry.joinfirefish.org/firefish/firefish:beta-amd64
|
||||||
|
container_name: rudeshark_web
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
### Uncomment one of the following to use a search engine
|
- meilisearch
|
||||||
# - meilisearch
|
|
||||||
# - sonic
|
# - sonic
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "127.0.0.1:8071:3000"
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- firenet
|
||||||
# - web
|
# - web
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
@ -24,39 +25,41 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/redis:7.0-alpine
|
image: docker.io/redis:7-alpine
|
||||||
container_name: firefish_redis
|
container_name: rudeshark_redis
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- firenet
|
||||||
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:15-alpine
|
||||||
container_name: firefish_db
|
container_name: rudeshark_db
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- firenet
|
||||||
env_file:
|
env_file:
|
||||||
- .config/docker.env
|
- .config/docker.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/postgresql/data
|
- ./postgresql:/var/lib/postgresql/data
|
||||||
|
|
||||||
### Only one of the below should be used.
|
### Only one of the below should be used.
|
||||||
### Meilisearch is better overall, but resource-intensive. Sonic is a very light full text search engine.
|
### Meilisearch is better overall, but resource-intensive. Sonic is a very light full text search engine.
|
||||||
|
|
||||||
# meilisearch:
|
meilisearch:
|
||||||
# container_name: meilisearch
|
container_name: rudeshark_meilisearch
|
||||||
# image: getmeili/meilisearch:v1.1.1
|
image: getmeili/meilisearch:v1.1.1
|
||||||
# environment:
|
environment:
|
||||||
# - MEILI_ENV=${MEILI_ENV:-development}
|
- MEILI_ENV=production
|
||||||
|
env_file:
|
||||||
|
- ./.config/meilisearch.env
|
||||||
# ports:
|
# ports:
|
||||||
# - "7700:7700"
|
# - "127.0.0.1:7706:7700"
|
||||||
# networks:
|
networks:
|
||||||
# - calcnet
|
- firenet
|
||||||
# volumes:
|
volumes:
|
||||||
# - ./meili_data:/meili_data
|
- ./meilisearch/data:/meili_data
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# sonic:
|
# sonic:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
@ -64,13 +67,16 @@ services:
|
|||||||
# logging:
|
# logging:
|
||||||
# driver: none
|
# driver: none
|
||||||
# networks:
|
# networks:
|
||||||
# - calcnet
|
# - firenet
|
||||||
# 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:
|
firenet:
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.22.22.0/24
|
||||||
# web:
|
# web:
|
||||||
# external:
|
# external:
|
||||||
# name: web
|
# name: web
|
||||||
|
Loading…
Reference in New Issue
Block a user