This commit is contained in:
zino
2023-11-28 22:09:27 +01:00
parent 113a0c4532
commit d1cfa84eae

View File

@@ -1,19 +1,6 @@
version: "3.8" version: "3.8"
services: services:
joplin-postgres:
image: postgres:16
container_name: joplin-postgres
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=7UN@nN9cKdz6NFN&
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
networks:
- web
joplin: joplin:
image: joplin/server:latest image: joplin/server:latest
container_name: joplin container_name: joplin
@@ -32,6 +19,19 @@ services:
networks: networks:
- web - web
joplin-postgres:
image: postgres:16
container_name: joplin-postgres
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=7UN@nN9cKdz6NFN&
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
networks:
- web
networks: networks:
web: web:
external: true external: true