-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
70 lines (61 loc) · 1.56 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
63
64
65
66
67
68
69
70
# This is an exmaple Docker Compose file to start your own Docker Stack
version: '2.3'
networks:
net:
driver: bridge
# enable_ipv6: true
ipam:
driver: default
config:
- subnet: 172.27.0.0/28
gateway: 172.27.0.1
# - subnet: fd00:0:0:0:27::/80
# gateway: fd00:0:0:0:27::1
services:
####
# HINT: use only ONE of the example "alexa-fhem:" service
# definitions below !
#
# Minimum example w/o any custom environment variables
alexa-fhem:
image: ghcr.io/fhem/alexa-fhem:5
restart: always
networks:
- net
volumes:
- "./alexa-fhem/:/alexa-fhem/"
# example with dependency towards fhem container to reduce error messages during start
alexa-fhem:
depends_on:
fhem:
condition: service_healthy
image: ghcr.io/fhem/alexa-fhem:5
restart: always
networks:
- net
volumes:
- "./alexa-fhem/:/alexa-fhem/"
# Example w/ custom environment variables
alexa-fhem:
image: ghcr.io/fhem/alexa-fhem:5
restart: always
networks:
- net
volumes:
- "./alexa-fhem/:/alexa-fhem/"
environment:
ALEXAFHEM_UID: 6062
ALEXAFHEM_GID: 6062
TZ: Europe/Berlin
# Example w/ alexa custom skill support via port 3000
alexa-fhem:
image: ghcr.io/fhem/alexa-fhem:5@sha256:06444bf3ca96d68831f6a26696ed05215affb48d6b10ccd8119b861a3e11b75c
restart: always
networks:
- net
volumes:
- "./alexa-fhem/:/alexa-fhem/"
environment:
ALEXAFHEM_UID: 6062
ALEXAFHEM_GID: 6062
TZ: Europe/Berlin