v0.10.0
This commit is contained in:
34
docker-compose.yml
Normal file
34
docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
container_name: postgres
|
||||
volumes:
|
||||
# - ./db.sql:docker-entrypoint-initdb.d/db.sql
|
||||
- db:/var/lib/postgres
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- POSTGRES_USER=gancio
|
||||
- POSTGRES_DB=gancio
|
||||
- POSTGRES_PASSWORD=gancio
|
||||
restart: always
|
||||
ports:
|
||||
- 5432:5432
|
||||
app:
|
||||
image: node:latest
|
||||
container_name: gancio
|
||||
build: .
|
||||
volumes:
|
||||
- ./db.sqlite:/data/gancio/db.sqlite
|
||||
- ./gancio_config.json:/data/gancio/gancio_config.json:ro
|
||||
- ./uploads:/data/gancio/uploads
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- 13120:13120
|
||||
volumes:
|
||||
db:
|
||||
gancio:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user