c1cc70eeb9
Full rebrand: UI display text, package scope (@ai-tycoon/* -> @token-empire/*), localStorage keys, Docker/CI image paths, database names, and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
990 B
YAML
43 lines
990 B
YAML
services:
|
|
web:
|
|
image: gitea.thewrightserver.net/josh/tokenempire/web:latest
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- server
|
|
restart: unless-stopped
|
|
|
|
server:
|
|
image: gitea.thewrightserver.net/josh/tokenempire/server:latest
|
|
ports:
|
|
- "3001:3001"
|
|
environment:
|
|
- DATABASE_URL=postgresql://tokenempire:tokenempire@db:5432/tokenempire
|
|
- PORT=3001
|
|
- CORS_ORIGIN=*
|
|
- JWT_SECRET=change-me-to-a-random-secret
|
|
- REQUIRE_INVITE=true
|
|
- USER_INVITATIONS=0
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
restart: unless-stopped
|
|
|
|
db:
|
|
image: postgres:17-alpine
|
|
environment:
|
|
- POSTGRES_USER=tokenempire
|
|
- POSTGRES_PASSWORD=tokenempire
|
|
- POSTGRES_DB=tokenempire
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U tokenempire"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
pgdata:
|