Initial commit for archive
This commit is contained in:
31
docker-compose.yml
Normal file
31
docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:13.1
|
||||
container_name: joplin-db
|
||||
restart: always
|
||||
volumes:
|
||||
- /mnt/blockstorage-1/joplin/postgres:/var/lib/postgresql/data
|
||||
env_file:
|
||||
- db.env
|
||||
networks:
|
||||
- joplin
|
||||
|
||||
app:
|
||||
image: joplin/server:latest
|
||||
container_name: joplin-app
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- app.env
|
||||
networks:
|
||||
- joplin
|
||||
- reverse-proxy
|
||||
|
||||
networks:
|
||||
joplin:
|
||||
reverse-proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user