mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
522 B
YAML
24 lines
522 B
YAML
|
5 years ago
|
version: '3.8'
|
||
|
|
services:
|
||
|
|
server:
|
||
|
|
build: ./server
|
||
|
|
restart: unless-stopped
|
||
|
|
user: 1000:1000
|
||
|
|
environment:
|
||
|
|
- "JWT_SECRET=change_me!" # use `openssl rand -hex 32` to generate a strong secret
|
||
|
|
- "SECRET=secret"
|
||
|
|
expose:
|
||
|
|
- 3000
|
||
|
|
client:
|
||
|
|
build: ./client
|
||
|
|
restart: unless-stopped
|
||
|
|
user: 1000:1000
|
||
|
|
environment:
|
||
|
|
- "API_URL=http://localhost:3000"
|
||
|
|
- "SECRET=secret"
|
||
|
|
expose:
|
||
|
|
- 3001
|
||
|
|
depends_on:
|
||
|
|
server:
|
||
|
|
condition: service_completed_successfully
|