Added productivity stack
This commit is contained in:
3
env/.productivity.env
vendored
Normal file
3
env/.productivity.env
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
NEXTAUTH_SECRET=VERY_SENSITIVE_SECRET
|
||||
NEXTAUTH_URL=http://localhost:3000
|
||||
POSTGRES_PASSWORD=YOUR_POSTGRES_PASSWORD
|
||||
29
productivity.yaml
Normal file
29
productivity.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: "3.5"
|
||||
services:
|
||||
lw-postgres:
|
||||
image: postgres
|
||||
restart: always
|
||||
volumes:
|
||||
- /portainer/linkwarden/pgdata:/var/lib/postgresql/data
|
||||
networks:
|
||||
- nginx
|
||||
hostname: lw-postgres
|
||||
linkwarden:
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
restart: always
|
||||
image: ghcr.io/linkwarden/linkwarden:latest
|
||||
ports:
|
||||
- 3002:3000
|
||||
volumes:
|
||||
- /portainer/linkwarden/data:/data/data
|
||||
depends_on:
|
||||
- lw-postgres
|
||||
networks:
|
||||
- nginx
|
||||
hostname: linkwarden
|
||||
|
||||
networks:
|
||||
nginx:
|
||||
external: true
|
||||
Reference in New Issue
Block a user