/ compose.yml
compose.yml
1 # Config file for compose, a tool that allows for easily managing multiple containers. 2 # https://docs.docker.com/compose/ 3 4 services: 5 database: 6 # not :nightly because doing that once caused failures when graph linking 7 # and also caused errors with query parameters (twice) 8 build: ./Database 9 ports: 10 - 8000:8000 11 restart: unless-stopped 12 volumes: 13 - ./data/surreal:/database 14 command: 15 - start 16 - -u=root 17 - -p=root 18 - surrealkv://database 19 20 economy: 21 build: ./Economy 22 ports: 23 - 2009:2009 24 restart: unless-stopped 25 volumes: 26 - ./data/economy:/data/economy 27 28 site: 29 build: . 30 ports: 31 - 4443:4443 32 restart: unless-stopped 33 depends_on: 34 - database # will keep retrying until database is ready 35 - economy