27 lines
685 B
YAML
27 lines
685 B
YAML
services:
|
|
web:
|
|
image: docker.arimelody.me/arimelody.me:latest
|
|
build: .
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- ./uploads:/app/uploads
|
|
environment:
|
|
HTTP_DOMAIN: "https://arimelody.me"
|
|
ARIMELODY_DB_HOST: db
|
|
DISCORD_ADMIN: # your discord user ID.
|
|
DISCORD_CLIENT: # your discord OAuth client ID.
|
|
DISCORD_SECRET: # your discord OAuth secret.
|
|
depends_on:
|
|
- db
|
|
restart: unless-stopped
|
|
db:
|
|
image: postgres:16.1-alpine3.18
|
|
volumes:
|
|
- ./db:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: arimelody
|
|
POSTGRES_USER: arimelody
|
|
POSTGRES_PASSWORD: fuckingpassword
|
|
restart: unless-stopped
|