-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
28 lines (27 loc) · 919 Bytes
/
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
version: '3.1'
services:
youtube-spotify-sync:
build:
context: ./
dockerfile: ./Dockerfile
args:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
# - POSTGRES_USER=${POSTGRES_USER}
# - POSTGRES_PW=${POSTGRES_PW}
# - POSTGRES_HOST=${POSTGRES_HOST}
# - POSTGRES_DB=${POSTGRES_DB}
container_name: youtube-spotify-sync
ports:
- 5000:5000
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
# - POSTGRES_USER=${POSTGRES_USER}
# - POSTGRES_PW=${POSTGRES_PW}
# - POSTGRES_HOST=${POSTGRES_HOST}
# - POSTGRES_DB=${POSTGRES_DB}
# bridge - connect to docker container from localhost
network_mode: bridge