-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (30 loc) · 824 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (30 loc) · 824 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
35
version: "3.8"
x-volume-mounts: &volumes
# Paths relevent for building, developing, and running the project
- './src:/home/developer/src:rw'
x-defaults: &defaults
user: "1000:1000" # slash:slash (uid:gid) (use 0:0 for root)
hostname: crypto-notifier
build:
context: .
dockerfile: ./container/Dockerfile
volumes: *volumes
command: zsh
env_file: ./src/coinmarketcap/.env
ports:
- 8000:8000
- 9000:9000
# This will override the default image names so you don't need an
# image per-service below
image: crypto-notifier
x-defaults-script: &defaults-script
<<: *defaults
entrypoint: /entrypoint_silent.sh
services:
cli:
<<: *defaults
crypto-cmc-smtp:
<<: *defaults-script
command: run-crypto-cmc-smtp
environment:
- "EMAIL_PATH=/home/developer/src/email"