-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 959 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 959 Bytes
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'
services:
mariadb:
image: mariadb:latest
environment:
MARIADB_ROOT_PASSWORD: RootPassword123!
MARIADB_DATABASE: demo
MARIADB_USER: user
MARIADB_PASSWORD: Password123!
ports:
- "3306:3306"
volumes:
- ./mariadb_data:/var/lib/mysql
restart: always
code-server:
image: codercom/code-server:latest
ports:
- "8080:8080"
environment:
- PASSWORD=CodePassword123!
volumes:
- ./workspace:/home/coder/project
- ./install-extensions.sh:/install-extensions.sh
entrypoint: ["/bin/bash", "/install-extensions.sh"]
restart: always
db-gate:
image: dbgate/dbgate:latest
environment:
CONNECTIONS: con1
LABEL_con1: MariaDB
SERVER_con1: dockerhost
USER_con1: root
PASSWORD_con1: RootPassword123!
PORT_con1: 3306
ENGINE_con1: mysql@dbgate-plugin-mysql
ports:
- "3000:3000"
restart: always