forked from lutris/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.travis.yml
54 lines (48 loc) · 1011 Bytes
/
docker-compose.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.4'
services:
lutrisweb:
build:
context: .
dockerfile: travis.Dockerfile
volumes:
- type: volume
source: media
target: /app/media
volume:
nocopy: true
- type: bind
source: .
target: /app
ports:
- "8000:8000"
restart: on-failure
stdin_open: true
tty: true
depends_on:
- lutrisdb
- lutrisfrontend
lutrisfrontend:
build:
context: .
dockerfile: frontend.Dockerfile
command: bash -c "mkdir -p ./static && npm install && npm run build:issues-dev"
volumes:
- type: bind
source: ./frontend
target: /app/frontend
#stdin_open: true
#tty: true
restart: on-failure
lutrisdb:
image: postgres:12
expose:
- "5432"
volumes:
- postgresql:/var/lib/postgresql/data
environment:
POSTGRES_DB: 'lutris'
POSTGRES_USER: 'lutris'
POSTGRES_PASSWORD: 'admin'
volumes:
postgresql:
media: