Last active
July 17, 2018 20:38
-
-
Save aleics/6d2a6a028e8f7d943f6c9d8eca274a90 to your computer and use it in GitHub Desktop.
Files used for the creation of a GraphQL endpoint using Rocket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
rustql: | |
image: rustql | |
restart: always | |
container_name: rustql | |
networks: | |
rustql-network: | |
ipv4_address: 172.11.0.2 | |
rustql-db: | |
image: postgres:9.4 | |
restart: always | |
container_name: rustql-db | |
networks: | |
rustql-network: | |
ipv4_address: 172.11.0.3 | |
volumes: | |
- /var/lib/postgresql/data | |
environment: | |
- POSTGRES_USER=postgres | |
networks: | |
rustql-network: | |
driver: bridge | |
ipam: | |
config: | |
- subnet: 172.11.0.0/16 | |
gateway: 172.11.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment