-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (34 loc) · 941 Bytes
/
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
version: "3.8"
# ==============================================================================
# ANCHORS
# ==============================================================================
x-logging: &default-logging
driver: "json-file"
options:
max-size: "500k"
max-file: "20"
x-entrypoint: &default-entrypoint
entrypoint: >
/bin/sh -c "
set -e
echo Hello
/bin/bash || exit 0
"
# ==============================================================================
# SERVICES
# ==============================================================================
services:
gitlabrc:
container_name: gitlabrc
env_file: [ "./.env" ]
build:
context: .
dockerfile: Dockerfile
<<: *default-entrypoint
stdin_open: true
tty: true
restart: on-failure
logging: *default-logging
networks: [ "gitlabrc" ]
networks:
gitlabrc: