30 lines
714 B
YAML
30 lines
714 B
YAML
services:
|
|
pc-builder:
|
|
image: 192.168.1.39:3000/stude12/pc_builder:latest
|
|
container_name: pc-builder
|
|
restart: unless-stopped
|
|
ports:
|
|
- '3333:3333'
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
- PORT=3333
|
|
- HOST=0.0.0.0
|
|
- NODE_ENV=production
|
|
- LOG_LEVEL=info
|
|
- APP_KEY=${APP_KEY}
|
|
- APP_URL=${APP_URL}
|
|
- SESSION_DRIVER=cookie
|
|
- DB_CONNECTION=mysql
|
|
- DB_HOST=host.docker.internal
|
|
- DB_PORT=3306
|
|
- DB_USER=${DB_USER:-pcbuilder}
|
|
- DB_PASSWORD=${DB_PASSWORD}
|
|
- DB_DATABASE=${DB_DATABASE:-pc_builder}
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- uploads:/app/uploads
|
|
|
|
volumes:
|
|
uploads:
|