-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (30 loc) · 966 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (30 loc) · 966 Bytes
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
version: '2.3'
x-lagoon-project:
# Lagoon project name (leave `&lagoon-project` when you edit this)
&lagoon-project tedxbern-2018
x-environment:
&default-environment
LAGOON_PROJECT: *lagoon-project
# Route that should be used locally
LAGOON_ROUTE: http://tedxbern-2018.docker.amazee.io
# Uncomment if you like to have the system behave like in production
#LAGOON_ENVIRONMENT_TYPE: production
services:
frontend:
command: yarn start # this only applies for local development
build: # how to build the frontend
context: .
dockerfile: Dockerfile
labels:
# Lagoon Labels
lagoon.type: node
environment:
<< : *default-environment # loads the defined environment variables from the top
LAGOON_LOCALDEV_URL: frontend.docker.amazee.io
API: http://frontend.docker.amazee.io/graphql
networks:
- amazeeio-network
- default
networks:
amazeeio-network:
external: true