Compare commits

..

10 Commits

Author SHA1 Message Date
Bart Sjerps 69f2d0750c Update compose.yaml 2026-06-12 11:04:08 +02:00
Bart Sjerps e04fb27c99 Update .env.production 2026-06-12 09:46:31 +02:00
Bart Sjerps f5091ea8e2 Update compose.yaml 2026-06-12 09:45:49 +02:00
Bart Sjerps 28851db70a Update compose.yaml 2026-06-12 09:43:37 +02:00
Bart Sjerps 7d73c75dba Update compose.yaml 2026-06-12 09:27:55 +02:00
Bart Sjerps 4f30fc9051 Update .env.production 2026-06-12 09:27:19 +02:00
Bart Sjerps c816481b6c Update .env.production 2026-06-12 09:25:08 +02:00
Bart Sjerps 6af3cadaa2 Update compose.yaml 2026-06-12 09:19:02 +02:00
Bart Sjerps be2de79e88 Add .env.production 2026-06-12 09:16:58 +02:00
Bart Sjerps 95935da7ea Add .gitignore 2026-06-12 09:15:43 +02:00
3 changed files with 38 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
DB_POSTGRES_HOST=
DB_POSTGRES_USER=npm
DB_POSTGRES_PASSWORD=
DB_POSTGRES_NAME=npm
+24
View File
@@ -0,0 +1,24 @@
# Environment files (contains secrets!)
.env
# .env.*
# Generated files
.dockerignore
*.log
*.tmp
# IDE/editor files
.idea/
.vscode/
*.swp
*.swo
# OS files
.DS_Store
Thumbs.db
# Backup files
*~
# Optionally: omit .env.example if already safe (see below)
# .env.example
+10 -6
View File
@@ -4,20 +4,24 @@ services:
restart: unless-stopped
environment:
TZ: "Europe/Amsterdam"
DB_POSTGRES_HOST: ${DB_POSTGRES_HOST}
DB_POSTGRES_PORT: '5432'
DB_POSTGRES_USER: ${DB_POSTGRES_USER}
DB_POSTGRES_PASSWORD: ${DB_POSTGRES_PASSWORD}
DB_POSTGRES_NAME: ${DB_POSTGRES_NAME}
ports:
- '80:80'
- '81:81'
- '443:443'
healthcheck:
test: ["CMD", "/usr/bin/check-health"]
interval: 10s
timeout: 3s
volumes:
- data:/data
- letsencrypt:/etc/letsencrypt
# /srv/docker/npm/letsencrypt:/etc/letsencrypt
environment:
DB_HOST: ${DB_HOST}
DB_PORT: 3306
DB_USER: ${DB_USER}
DB_PASS: ${DB_PASS}
DB_NAME: ${DB_NAME}
volumes:
data:
letsencrypt: