-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
61 lines (56 loc) · 2.13 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
################################################################################
#
# This file is part of SplashSync Project.
#
# Copyright (C) Splash Sync <www.splashsync.com>
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @author Bernard Paquier <[email protected]>
#
################################################################################
################################################################################
# Docker Compose File
#
# This Docker File intend to Create a Complete Toolkit Environment
# for Development of Splash Modules
#
# 172.169.0.10 toolkit.splashsync.local
#
################################################################################
name: Splash Toolkit
services:
################################################################################
# Php Alpine Server Container
toolkit:
build:
context: ./
dockerfile: Dockerfile
volumes:
# Use Local Sources
- ./config:/app/config
- ./src:/app/src
# - /mnt/data/WebDesign/GitHub/Splash/Php-SonataAdminSplashBundle:/app/vendor/splash/sonata-admin-splash-bundle:ro
# Specify Local Configuration File
- ./config/packages/splash.yaml:/app/config/packages/splash.yaml:ro
hostname: toolkit.splashsync.local
networks:
toolkit: { ipv4_address: 172.169.0.10 }
splashsync: { aliases: [ toolkit.splashsync.local ] }
networks:
################################################################################
# Default Private Network
toolkit:
driver: bridge
ipam:
config:
- subnet: 172.169.0.0/24
################################################################################
# External Splash Network
splashsync:
external: true