feat: initial commit - 1000apps SaaS container
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_PASSWORD: change_me_password
|
||||
POSTGRES_DB: 1000apps
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- internal
|
||||
expose:
|
||||
- "5432"
|
||||
|
||||
app:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
DATABASE_URL: postgresql://user:change_me_password@10.0.1.21:5432/1000apps
|
||||
NEXTAUTH_SECRET: test-secret-2x4=
|
||||
NEXTAUTH_URL: https://1000apps.fluxtechnologies.uk
|
||||
GOOGLE_CLIENT_ID: ""
|
||||
GOOGLE_CLIENT_SECRET: ""
|
||||
networks:
|
||||
- internal
|
||||
- coolify-proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.1000apps.rule=Host(`1000apps.fluxtechnologies.uk`)"
|
||||
- "traefik.http.routers.1000apps.entrypoints=https"
|
||||
- "traefik.http.routers.1000apps.tls=true"
|
||||
- "traefik.http.routers.1000apps.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.1000apps.loadbalancer.server.port=3000"
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
networks:
|
||||
internal:
|
||||
coolify-proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user