blob: 42ff1b41b3949152ba8da5e5ca5427ee6dde93c5 (
plain)
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
|
version: '3.7'
# networks:
# anom-network:
# driver: bridge
services:
web:
container_name: kallassa
build:
context: .
ports:
- "80:8080"
# - "1415:8080"
volumes:
- "./public:/var/www/public"
- "./core:/var/www/core"
- "./docker:/var/www/docker"
- "./storage:/var/www/storage"
- "./tests:/var/www/tests"
- "./.env:/var/www/.env"
environment:
PORT: 8080
# for xdebug uncomment the 'extra_hosts' subsection
# extra_hosts:
# - host.docker.internal:host-gateway
# network implements a bridge to ohter docker services
# networks:
# - anom-network
command: sh -c "/usr/local/bin/docker-entrypoint.sh"
#
# memcached:
# container_name: anomemcached
# image: memcached:latest
# ports:
# - "11211:11211"
#
# redis:
# container_name: redis
# image: 'redis:5.0.7-alpine'
# ports:
# - 6379:6379
# networks:
# - anom-network
#
# mailhog
# NOTE: this is a fake mail server
# mailhog:
# image: mailhog/mailhog:v1.0.0
# ports:
# - "1025:1025"
# - "8025:8025"
|