Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba3b3e8

Browse files
committed
Ajout des fichiers Docker-Compose pour les machines de dev
1 parent 3775e2d commit ba3b3e8

File tree

5 files changed

+101
-20
lines changed

5 files changed

+101
-20
lines changed

figs/devlamp/fig.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

figs/lamp-stack/docker-compose.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
web:
2+
image: nikowoot/apache2withphp
3+
links:
4+
- db
5+
- memcached
6+
ports:
7+
- "80:80"
8+
volumes:
9+
- /var/www/html:/var/www/html
10+
11+
db:
12+
image: nikowoot/mariadb
13+
ports:
14+
- "3306:3306"
15+
environment:
16+
- SQL_USERNAME=admin
17+
- SQL_PASSWORD=admin
18+
- SQL_DATABASE=phabricator
19+
20+
memcached:
21+
image: nikowoot/memcached
22+
ports:
23+
- "11211:11211"
24+
environment:
25+
- MEMCACHED_IP=0.0.0.0
26+
- MEMCACHED_SIZE=64
27+
- MEMCACHED_CONCURENT=25
28+
- MEMCACHED_THREAD=4

figs/lnmp-stack/docker-compose.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
web:
2+
image: nikowoot/nginxwithphpfpm
3+
links:
4+
- db
5+
- memcached
6+
ports:
7+
- "80:80"
8+
volumes:
9+
- /var/www/html:/var/www/html
10+
11+
db:
12+
image: nikowoot/mariadb
13+
ports:
14+
- "3306:3306"
15+
environment:
16+
- SQL_USERNAME=admin
17+
- SQL_PASSWORD=admin
18+
- SQL_DATABASE=phabricator
19+
20+
memcached:
21+
image: nikowoot/memcached
22+
ports:
23+
- "11211:11211"
24+
environment:
25+
- MEMCACHED_IP=0.0.0.0
26+
- MEMCACHED_SIZE=64
27+
- MEMCACHED_CONCURENT=25
28+
- MEMCACHED_THREAD=4

figs/mean-stack/docker-compose.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
web:
2+
image: nikowoot/nodejs
3+
links:
4+
- db
5+
ports:
6+
- "1337:1337"
7+
8+
db:
9+
image: nikowoot/mongodb
10+
ports:
11+
- "27017:27017"
12+
- "28017:28017"
13+
environment:
14+
- SQL_USERNAME=admin
15+
- SQL_PASSWORD=admin
16+
- SQL_DATABASE=phabricator
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
web:
2+
image: nikowoot/phabricator
3+
links:
4+
- db
5+
ports:
6+
- "80:80"
7+
environment:
8+
- PHABRICATOR_BASEURI=127.0.0.1
9+
- SQL_HOST=db
10+
- SQL_PORT=3306
11+
- SQL_USER=admin
12+
- SQL_PASS=admin
13+
14+
- EMAIL_DOMAIN=test.com
15+
- SMTP_HOST=smtp.test.com
16+
- SMTP_PORT=8080
17+
- SMTP_USER=user
18+
- SMTP_PASSWORD=user
19+
- SMTP_PROTOCOL=ssl
20+
- SMTP_ENCODING=default
21+
22+
db:
23+
image: nikowoot/mariadb
24+
ports:
25+
- "3306:3306"
26+
environment:
27+
- SQL_USERNAME=admin
28+
- SQL_PASSWORD=admin
29+
- SQL_DATABASE=phabricator

0 commit comments

Comments
 (0)