mirror of
https://github.com/System-End/stickers.git
synced 2026-04-19 22:05:10 +00:00
26 lines
546 B
YAML
26 lines
546 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: backend
|
|
expose:
|
|
- "9292"
|
|
env_file:
|
|
- path: ./backend/.env
|
|
required: false
|
|
environment:
|
|
FRONTEND_URL: ${FRONTEND_URL:-https://stickers.hackclub.com}
|
|
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: frontend
|
|
expose:
|
|
- "3000"
|
|
environment:
|
|
ORIGIN: ${ORIGIN:-https://stickers.hackclub.com}
|
|
BACKEND_URL: http://backend:9292
|
|
depends_on:
|
|
- backend
|