Skip to content

Instantly share code, notes, and snippets.

@gbalbuena
Last active October 10, 2019 03:37
Show Gist options
  • Select an option

  • Save gbalbuena/08b8a0b86ecf2de65aa125b15a3d3ad3 to your computer and use it in GitHub Desktop.

Select an option

Save gbalbuena/08b8a0b86ecf2de65aa125b15a3d3ad3 to your computer and use it in GitHub Desktop.
aws --endpoint-url http://localhost:9324 \
sqs create-queue \
--queue-name "test"
aws --endpoint-url http://localhost:9324 \
sqs send-message \
--queue-url http://localhost:9324/queue/test \
--message-body "Hola!"
version: '3.5'
services:
postgres:
container_name: db
image: "postgres:11"
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
networks:
- postgres
restart: unless-stopped
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:[email protected]}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
volumes:
- pgadmin:/root/.pgadmin
ports:
- "${PGADMIN_PORT:-5050}:80"
networks:
- postgres
restart: unless-stopped
alpine-sqs:
image: roribio16/alpine-sqs:latest
container_name: alpine-sqs
ports:
- "9324:9324"
- "9325:9325"
stdin_open: true
tty: true
networks:
postgres:
driver: bridge
volumes:
postgres:
pgadmin:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment