-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (46 loc) · 1.33 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
services:
amxbans-nginx:
image: ghcr.io/mistercalvin/amxbans-nginx:latest
container_name: amxbans-nginx
hostname: amxbans-nginx
environment:
TZ: "UTC"
INSTALL: "True" # Set to "False" after successful install
# All of the variables below are optional and can be removed after a successful install
# They can be omitted entirely if you wish to input this information manually during your first install
ADMIN_USER: "root"
ADMIN_PASS: "password" # Minimum 4 characters
ADMIN_EMAIL: "root@email.com"
URL_PATH: "amxbans.mydomain.com"
DB_HOST: "amxbans-mariadb"
DB_USER: "root"
DB_PASS: "password"
DB: "amxbans"
DB_PREFIX: "amx_"
volumes:
- amxbans_web:/var/www/html
ports:
- 80:80
depends_on:
- amxbans-mariadb
restart: unless-stopped
amxbans-mariadb:
image: ghcr.io/mistercalvin/amxbans-mariadb:latest
container_name: amxbans-mariadb
hostname: amxbans-mariadb
environment:
TZ: "UTC"
MYSQL_USER: "root"
MYSQL_PASSWORD: "password"
MYSQL_ROOT_PASSWORD: "rootpassword"
MYSQL_DATABASE: "amxbans"
volumes:
- amxbans_db:/var/lib/mysql
ports:
- 3306:3306
restart: unless-stopped
volumes:
amxbans_web:
name: amxbans_web
amxbans_db:
name: amxbans_db