-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-docker-compose.yml
More file actions
executable file
·83 lines (76 loc) · 1.5 KB
/
dev-docker-compose.yml
File metadata and controls
executable file
·83 lines (76 loc) · 1.5 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3"
services:
web:
build:
context: .
dockerfile: ./etc/nginx/nginx.Dockerfile
container_name: beautiful-web
ports:
- '80:80'
volumes:
- ./www:/var/www
depends_on:
- php
networks:
- beautiful-net
php:
build:
context: .
dockerfile: ./etc/php/php.dev.Dockerfile
ports:
- '9000:9000'
depends_on:
- cache
- db
volumes:
- ./www:/var/www
networks:
- beautiful-net
cache:
build:
context: .
dockerfile: ./etc/redis/redis.Dockerfile
ports:
- '6379:6379'
networks:
- beautiful-net
volumes:
- volume-cache:/data
db:
build:
context: .
dockerfile: ./etc/postgresql/postgres.Dockerfile
env_file:
- ./etc/postgresql/.env
ports:
- '5432:5432'
volumes:
- volume-db:/var/lib/postgresql/data
networks:
- beautiful-net
s3:
image: adobe/s3mock
restart: unless-stopped
environment:
- debug=true
- COM_ADOBE_TESTING_S3MOCK_STORE_INITIAL_BUCKETS=laravel
- COM_ADOBE_TESTING_S3MOCK_STORE_RETAIN_FILES_ON_EXIT=true
- COM_ADOBE_TESTING_S3MOCK_STORE_ROOT=containers3root
ports:
- '9090:9090'
volumes:
- ./locals3root:/containers3root
networks:
- beautiful-net
adminer:
image: adminer
ports:
- '8080:8080'
networks:
- beautiful-net
networks:
beautiful-net:
driver: bridge
volumes:
volume-db:
volume-cache: