-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (45 loc) · 1.03 KB
/
docker-compose.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
version: '3.9'
services:
api:
build:
context: ./api
dockerfile: Dockerfile
target: production
ports:
- "8000:8000"
environment:
- AUTH_TOKEN=${AUTH_TOKEN}
- TIFF_PATH=${TIFF_PATH}
- GRID_TILES_PATH=${GRID_TILES_PATH}
networks:
- amazonia360-network
restart: always
client:
build:
context: ./client
dockerfile: Dockerfile
target: production
args:
NEXT_PUBLIC_URL: "http://localhost:3000"
NEXT_PUBLIC_API_URL: "http://api:8000"
NEXT_PUBLIC_ARCGIS_API_KEY: ""
NEXT_PUBLIC_API_KEY: ""
ARCGIS_CLIENT_ID: ""
ARCGIS_CLIENT_SECRET: ""
BASIC_AUTH_USER: amazonia360
BASIC_AUTH_PASSWORD: amazonia360
ports:
- "3000:3000"
networks:
- amazonia360-network
test:
build:
context: ./api
dockerfile: Dockerfile
target: development
networks:
- amazonia360-network
command: pytest tests
networks:
amazonia360-network:
driver: bridge