Skip to content

Commit 355e1be

Browse files
committed
Add tango compose
1 parent 484e9c1 commit 355e1be

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Spin up a local minimal tango cs
2+
3+
version: "3.7"
4+
services:
5+
mysql:
6+
image: registry.gitlab.com/tango-controls/docker/mysql:5
7+
environment:
8+
- MYSQL_ROOT_PASSWORD=root
9+
10+
tango-cs:
11+
hostname: localhost
12+
image: registry.gitlab.com/tango-controls/docker/tango-cs:9
13+
ports:
14+
- "10000:10000"
15+
environment:
16+
- TANGO_HOST=localhost:10000
17+
- MYSQL_HOST=mysql:3306
18+
- MYSQL_USER=tango
19+
- MYSQL_PASSWORD=tango
20+
- MYSQL_DATABASE=tango
21+
depends_on:
22+
- mysql

0 commit comments

Comments
 (0)