-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (45 loc) · 1.18 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
47
version: '3'
services:
# geo-postgres-compose:
# container_name: 'geo-postgres-compose'
# image: geographica/postgis:dev_diplodocus
# environment:
# - POSTGRES_PASSWD=postgres
# ports:
# - "5432:5432"
# volumes:
# - ${LOCAL_DATABASE}:/data
# - ./data:/data_import
# networks:
# - geo-postgres-compose-network
# THIS IS THE CONNEXION WITH GOOGLE SQL INSTANCE
# geo-postgres-compose:
# container_name: "geo-postgres-compose"
# image: gcr.io/cloudsql-docker/gce-proxy:1.16
# # Port: MySQL (3306), PostgreSQL (5433)
# command: /cloud_sql_proxy -instances=skydipper-196010:europe-west1:skydipper-pg-1=tcp:0.0.0.0:5433 -credential_file=/config
# volumes:
# - ./sqlPrivateKey.json:/config
# ports:
# - "5434:5433"
# networks:
# - geo-postgres-compose-network
# restart: always
deepsky:
env_file:
- .env
build: .
ports:
- 8888:8888
networks:
- geopredictordb-network
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
volumes:
- .:/tf/deepsky
networks:
geopredictordb-network:
driver: bridge