2019-04-10 18:17:24 +02:00
|
|
|
server:
|
|
|
|
image: golang:1.12
|
|
|
|
working_dir: /server
|
|
|
|
volumes:
|
|
|
|
- ./server:/server
|
2019-05-02 04:34:00 +02:00
|
|
|
- ./local.offen.dev.pem:/server/local.offen.dev.pem
|
|
|
|
- ./local.offen.dev-key.pem:/server/local.offen.dev-key.pem
|
2019-04-10 18:17:24 +02:00
|
|
|
- $GOPATH/pkg/mod:/go/pkg/mod
|
|
|
|
environment:
|
|
|
|
- GOPATH=/go
|
2019-04-20 01:37:26 +02:00
|
|
|
- POSTGRES_CONNECTION_STRING=postgres://postgres:develop@database:5432/postgres?sslmode=disable
|
2019-04-10 18:17:24 +02:00
|
|
|
ports:
|
|
|
|
- 8080:8080
|
2019-05-02 04:34:00 +02:00
|
|
|
command: go run cmd/server/main.go -conn postgres://postgres:develop@database:5432/postgres?sslmode=disable -key local.offen.dev-key.pem -cert local.offen.dev.pem
|
2019-04-12 09:04:31 +02:00
|
|
|
links:
|
|
|
|
- database
|
|
|
|
|
|
|
|
database:
|
|
|
|
image: postgres:11.2
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=develop
|
2019-04-20 05:16:21 +02:00
|
|
|
|
|
|
|
vault:
|
2019-04-27 16:21:11 +02:00
|
|
|
image: timbru31/node-chrome:slim
|
2019-05-23 10:52:32 +02:00
|
|
|
working_dir: /offen/vault
|
2019-04-20 05:16:21 +02:00
|
|
|
volumes:
|
2019-05-23 10:52:32 +02:00
|
|
|
- .:/offen
|
|
|
|
- ./local.offen.dev.pem:/offen/vault/local.offen.dev.pem
|
|
|
|
- ./local.offen.dev-key.pem:/offen/vault/local.offen.dev-key.pem
|
2019-04-20 17:06:06 +02:00
|
|
|
command: npm start -- --port 9977
|
2019-04-20 05:16:21 +02:00
|
|
|
ports:
|
2019-04-20 17:06:06 +02:00
|
|
|
- 9977:9977
|
2019-05-08 17:19:54 +02:00
|
|
|
environment:
|
|
|
|
- SERVER_HOST=https://local.offen.dev:8080
|
2019-05-22 11:30:09 +02:00
|
|
|
- AUDITORIUM_HOST=https://local.offen.dev:9955
|
2019-05-10 12:54:39 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
image: timbru31/node-chrome:slim
|
2019-05-23 10:52:32 +02:00
|
|
|
working_dir: /offen/script
|
2019-05-10 12:54:39 +02:00
|
|
|
volumes:
|
2019-05-23 10:52:32 +02:00
|
|
|
- .:/offen
|
|
|
|
- ./local.offen.dev.pem:/offen/script/local.offen.dev.pem
|
|
|
|
- ./local.offen.dev-key.pem:/offen/script/local.offen.dev-key.pem
|
2019-05-10 12:54:39 +02:00
|
|
|
command: npm start -- --port 9966
|
|
|
|
ports:
|
|
|
|
- 9966:9966
|
|
|
|
environment:
|
|
|
|
- VAULT_HOST=https://local.offen.dev:9977
|
2019-05-21 16:58:40 +02:00
|
|
|
|
|
|
|
auditorium:
|
|
|
|
image: timbru31/node-chrome:slim
|
2019-05-23 10:52:32 +02:00
|
|
|
working_dir: /offen/auditorium
|
2019-05-21 16:58:40 +02:00
|
|
|
volumes:
|
2019-05-23 10:52:32 +02:00
|
|
|
- .:/offen
|
|
|
|
- ./local.offen.dev.pem:/offen/auditorium/local.offen.dev.pem
|
|
|
|
- ./local.offen.dev-key.pem:/offen/auditorium/local.offen.dev-key.pem
|
2019-05-21 16:58:40 +02:00
|
|
|
command: npm start -- --port 9955
|
|
|
|
ports:
|
|
|
|
- 9955:9955
|
|
|
|
environment:
|
|
|
|
- VAULT_HOST=https://local.offen.dev:9977
|