-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
executable file
·62 lines (57 loc) · 1.2 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.7'
services:
nestjs:
image: node:latest
container_name: nestjs
command: npm run start:dev
# command: tail -f /dev/null
env_file:
- .env.app
ports:
- 3000:3000
working_dir: /app
volumes:
- ./src:/app
nestjs-nginx:
build:
context: ./docker/nginx
dockerfile: Dockerfile
container_name: nestjs-nginx-storage
restart: always
logging:
driver: none
volumes:
- ./storage/ftp:/app
ports:
- 85:80
nestjs-storage-ftp:
image: stilliard/pure-ftpd
container_name: nestjs-ftp-storage
restart: always
logging:
driver: none
environment:
FTP_USER_NAME: app
FTP_USER_PASS: secret
FTP_USER_HOME: /app
volumes:
- ./storage/ftp:/app
nestjs-aws-s3:
build:
context: ./docker/aws
dockerfile: Dockerfile
container_name: nestjs-aws-storage
restart: always
logging:
driver: none
ports:
- 4563-4584:4563-4584
- 8256:8080
environment:
- SERVICES=s3
- DEFAULT_REGION=eu-west-2
- DEBUG=1
- DATA_DIR=/tmp/localstack/data
- PORT_WEB_UI=8080
volumes:
- "./storage/aws:/tmp/localstack"